package cn.project.lemontree.service;

import cn.project.lemontree.bean.Child;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;

import java.util.List;

public interface ChildService extends IService<Child> {

    List<Child> listpage(int page, int size,  String childName,String className);
    int count(String childName,String className);
    boolean saveChild(Child child);
    boolean updateChild(Child child);
    List<Child> findChildrenByid(Integer classId);
    boolean setClass(Integer invitationCode,Integer childId);
    List<Child> findChild(Integer parentId);
    int countChild(Integer parentId);
    int countClass(List<Child> list);
    Child research(String childName,String birth);
}
